[INFO] cloning repository https://github.com/prabhurajvardhan/Vistara_labs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prabhurajvardhan/Vistara_labs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhurajvardhan%2FVistara_labs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhurajvardhan%2FVistara_labs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 70a4b1f1155f600621a3b02527cffe46bb52eab4
[INFO] fixing prabhurajvardhan/Vistara_labs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhurajvardhan%2FVistara_labs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/prabhurajvardhan/Vistara_labs
[INFO] finished tweaking git repo https://github.com/prabhurajvardhan/Vistara_labs
[INFO] tweaked toml for git repo https://github.com/prabhurajvardhan/Vistara_labs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prabhurajvardhan/Vistara_labs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prabhurajvardhan/Vistara_labs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a
[INFO] running `Command { std: "docker" "start" "6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking gif v0.13.3
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.8.33
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking vistara_lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/chat_core.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DynamicImage`
[INFO] [stdout]  --> src/vision-hardware.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{GenericImageView, DynamicImage};
[INFO] [stdout]   |                               ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/baby_brain.rs:157:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let agent = &self.agents[current_id];
[INFO] [stdout]     |                          ----------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 157 |             let mut r = self.random_float() * total_strength;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 160 |             for syn in &agent.synapses {
[INFO] [stdout]     |                        --------------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vistara_lab` (bin "baby_brain" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/interactive.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct NeuroAgent {
[INFO] [stdout]   |        ---------- field in this struct
[INFO] [stdout] 7 |     id: usize,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NeuroAgent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/associative.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut current_node = pillars[0].0;
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/associative.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let mut mat = make_agent(1, "mat", 90.0);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GenericImageView`
[INFO] [stdout]  --> src/vision-hardware.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::{GenericImageView, DynamicImage};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_permanent` is never read
[INFO] [stdout]  --> src/associative.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Synapse {
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     is_permanent: bool,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Synapse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/associative.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct NeuroAgent {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 13 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `label_to_id` is never read
[INFO] [stdout]   --> src/associative.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct Cortex {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 48 |     agents: Vec<NeuroAgent>,
[INFO] [stdout] 49 |     label_to_id: HashMap<String, usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chat_core.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut candidates: Vec<(usize, f32)> = self.motor_neurons.iter()
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/chat_core.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct NeuroAgent {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 17 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NeuroAgent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `total_input_features`
[INFO] [stdout]   --> src/vision-hardware.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let total_input_features = features.iter().filter(|&&f| f > 0.0).count() as f32;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_input_features`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/vision-hardware.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct NeuroAgent {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 15 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/baby_brain.rs:157:25
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let agent = &self.agents[current_id];
[INFO] [stdout]     |                          ----------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 157 |             let mut r = self.random_float() * total_strength;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 160 |             for syn in &agent.synapses {
[INFO] [stdout]     |                        --------------- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vistara_lab` (bin "baby_brain") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a", kill_on_drop: false }`
[INFO] [stdout] 6c0c99cbbf1d9d83d87ef2bd1a2c5159aa333682e102417945484322e116989a
